negotiator.boaframework.agent
Class TheBOAagent

java.lang.Object
  extended by negotiator.Agent
      extended by negotiator.boaframework.agent.BOAagent
          extended by negotiator.boaframework.agent.TheBOAagent

public class TheBOAagent
extends BOAagent

This class is used to convert a BOA agent created using the GUI to a real agent. The parseStrategyParameters loads the information object, the agentSetup uses the information object to load the agent using reflexion.

Version:
19/12/11
Author:
Alex Dirkzwager, Mark Hendrikx

Field Summary
 
Fields inherited from class negotiator.boaframework.agent.BOAagent
acceptConditions, negotiationSession, offeringStrategy, omStrategy, opponentModel, outcomeSpace, savedOutcomes
 
Fields inherited from class negotiator.Agent
fNegotiation, parametervalues, sessionNr, sessionsTotal, startTime, strategyParameters, timeline, totalTime, utilitySpace
 
Constructor Summary
TheBOAagent()
           
 
Method Summary
 void agentSetup()
          Loads and initializes the decoupled components of the agent.
 void cleanUp()
          Removes the references to all components such that the garbage collector can remove them.
 java.lang.String getName()
          Returns the name of the agent.
 void parseStrategyParameters(java.lang.String variables)
          Loads the BOA agent information object created by using the GUI.
 
Methods inherited from class negotiator.boaframework.agent.BOAagent
chooseAction, endSession, getAcceptanceStrategy, getOfferingStrategy, getOpponentModel, getUniqueIdentifier, getVersion, init, ReceiveMessage, setDecoupledComponents
 
Methods inherited from class negotiator.Agent
getAgentID, getParameterValues, getSessionNumber, getSessionsTotal, getStrategyParameters, getUtility, internalInit, isUIAgent, loadSessionData, restartDataObjectsFolder, saveSessionData, setAgentID, setName, sleep
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TheBOAagent

public TheBOAagent()
Method Detail

agentSetup

public void agentSetup()
Loads and initializes the decoupled components of the agent.

Specified by:
agentSetup in class BOAagent

getName

public java.lang.String getName()
Returns the name of the agent.

Specified by:
getName in class BOAagent
Returns:
name of the agent.

cleanUp

public void cleanUp()
Removes the references to all components such that the garbage collector can remove them.

Overrides:
cleanUp in class BOAagent

parseStrategyParameters

public void parseStrategyParameters(java.lang.String variables)
                             throws java.lang.Exception
Loads the BOA agent information object created by using the GUI. The agentSetup method uses this information to load the necessary components by using reflexion.

Overrides:
parseStrategyParameters in class Agent
Throws:
java.lang.Exception